package service;

import java.sql.SQLException;

import javax.naming.NamingException;

public interface EntityService {
    
    int register(String name) throws SQLException, NamingException;

    int inquire(String name) throws SQLException, NamingException;
    
}
